# -*- mode: snippet -*-
# name: open application
# uuid:
# key: ,itf
# condition: t
# --
if !(pgrep -x "${1:app name}") > /etc/null
then
    $2
fi$3